package com.etc.demo.controller;

import com.etc.common.CodeMessage;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Filename:    LogOutController
 * Description:  TODO
 * Copyright:   Copyright (c) 2018-2022 All Rights Reserved.
 * Company:     chinasofti.com Inc.
 *
 * @author: mazheng
 * @version: 1.0
 * Create at:   2021/2/2 13:53
 * <p>
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2021/2/2      mazheng      1.0         1.0 Version
 */
@RestController
public class LogOutController {

    @PostMapping("admin/logout")
    public CodeMessage logOut() {

        return CodeMessage.success();
    }
}
